import axios from './interceptor';

export function getDonate() {
  return axios.post('/money/list');
}

export function getDonateMaterial() {
  return axios.post('/material/list');
}

export function createDonateMoney(data){
  return axios.post('/donate/money', data)
}

export function createDonateMaterial(data){
  return axios.post('/donate/material', data)
}